package com.shire.shire_interface.service.tag;

import com.shire.shire_interface.dao.tag.WxTagRecordDao;
import com.shire.shire_interface.model.tag.WxTagRecord;
import com.shire.shire_interface.model.tag.WxTagRecordExample;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class WxTagRecordService {

    @Resource
    private WxTagRecordDao wxTagRecordDao;

    public int insert(WxTagRecord wxTagRecord) {

        return wxTagRecordDao.insertSelective(wxTagRecord);
    }

    public List<WxTagRecord> selectByExample(WxTagRecordExample wxTagRecordExample) {

        return wxTagRecordDao.selectByExample(wxTagRecordExample);
    }

    public int deleteByExample(WxTagRecordExample wxTagRecordExample) {
        return wxTagRecordDao.deleteByExample(wxTagRecordExample);
    }
}
